exports.closeResponse = function (resp) {
    return function () {
      resp.emit("end");
      resp._destroyed = true;
    }
}